<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Lihat Buku Tamu</title>
    </head>
    <body>
        <h2>Belajar Buku Tamu</h2>
        <table>
            <tr>
                <td>RPUSD</td>
                <td>RPJPY</td>
                <td>JPYUSD</td>
                <td>DATE</td>
                <TD>ACTION</TD>
            </tr>
        <c:forEach items="${data}" var="data">

            <tr>
                <td>
                    <c:out value="${data.rpusd}" />
                </td>
                <td>
                    <c:out value="${data.rpjpy}" />
                </td>
                <td>
                    <c:out value="${data.jpyusd}" />
                </td>
                <td>
                    <c:out value="${data.date}" />
                </td>
                <td><a href=update.html?id=<c:out value="${data.id}" />>Edit</a>&nbsp;<a href=?id=<c:out value="${data.id}" />&action=delete>Delete</a></td>
            </tr>

	</c:forEach>
        </table>



    </body>
</html>